const runtime._Gscan
41 uses
runtime (current package)
mgcmark.go#L820: if readgstatus(gp)&_Gscan == 0 {
mgcmark.go#L825: switch readgstatus(gp) &^ _Gscan {
panic.go#L1439: if status&^_Gscan != _Grunning || gp.syscallsp != 0 {
preempt.go#L125: if s&_Gscan != 0 {
preempt.go#L167: if !castogscanstatus(gp, s, s|_Gscan) {
preempt.go#L270: case _Grunnable | _Gscan,
preempt.go#L271: _Gwaiting | _Gscan,
preempt.go#L272: _Gsyscall | _Gscan:
preempt.go#L273: casfrom_Gscanstatus(gp, s, s&^_Gscan)
preempt.go#L344: return (gp.preempt || gp.m.p != 0 && gp.m.p.ptr().preempt) && readgstatus(gp)&^_Gscan == _Grunning
proc.go#L1027: if status&^_Gscan != _Gwaiting {
proc.go#L1131: if newval == oldval&^_Gscan {
proc.go#L1151: if newval == oldval|_Gscan {
proc.go#L1176: if (oldval&_Gscan != 0) || (newval&_Gscan != 0) || oldval == newval {
proc.go#L1305: oldstatus := readgstatus(gp) &^ _Gscan
proc.go#L1320: if old != _Grunning || new != _Gscan|_Gpreempted {
proc.go#L1324: for !gp.atomicstatus.CompareAndSwap(_Grunning, _Gscan|_Gpreempted) {
proc.go#L3143: if status&^_Gscan != _Grunnable {
proc.go#L4109: if status&^_Gscan != _Grunning {
proc.go#L4162: if status&^_Gscan != _Grunning {
proc.go#L4187: casGToPreemptScan(gp, _Grunning, _Gscan|_Gpreempted)
proc.go#L4209: casfrom_Gscanstatus(gp, _Gscan|_Gpreempted, _Gpreempted)
proc.go#L5966: switch s &^ _Gscan {
runtime2.go#L101: _Gscan = 0x1000
runtime2.go#L102: _Gscanrunnable = _Gscan + _Grunnable // 0x1001
runtime2.go#L103: _Gscanrunning = _Gscan + _Grunning // 0x1002
runtime2.go#L104: _Gscansyscall = _Gscan + _Gsyscall // 0x1003
runtime2.go#L105: _Gscanwaiting = _Gscan + _Gwaiting // 0x1004
runtime2.go#L106: _Gscanpreempted = _Gscan + _Gpreempted // 0x1009
signal_unix.go#L760: if crashing.Load() > 0 && gp != mp.curg && mp.curg != nil && readgstatus(mp.curg)&^_Gscan == _Grunning {
stack.go#L1183: if traceEnabled() && readgstatus(gp)&^_Gscan == _Gwaiting && gp.waitreason.isWaitingForGC() {
stack.go#L1197: if s := readgstatus(gp); s&_Gscan == 0 {
trace.go#L395: ug.status = readgstatus(s.g) &^ _Gscan
traceback.go#L840: if readgstatus(gp)&^_Gscan == _Gsyscall {
traceback.go#L1202: isScan := gpstatus&_Gscan != 0
traceback.go#L1203: gpstatus &^= _Gscan // drop the scan bit
traceback.go#L1273: if gp.m != getg().m && readgstatus(gp)&^_Gscan == _Grunning {
tracestack.go#L52: if status&_Gscan == 0 {
tracestatus.go#L93: if w.mp.p.ptr() == pp && w.mp.curg != nil && readgstatus(w.mp.curg)&^_Gscan == _Gsyscall {
tracestatus.go#L132: switch status &^ _Gscan {
 |
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |